checkbutton: Use markdown for css tree
authorMatthias Clasen <mclasen@redhat.com>
Sun, 28 Feb 2021 00:44:51 +0000 (19:44 -0500)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 11 Mar 2021 16:37:34 +0000 (16:37 +0000)
gtk/gtkcheckbutton.c

index da16354694bd81bdbbe294249576bd3a540e20c9..366fd2398c9c816ac776717f5eb2e4aaccf61c02 100644 (file)
@@ -46,8 +46,8 @@
  *
  * ![Example GtkCheckButtons](check-button.png)
  *
- * A `GtkCheckButton` is created by calling either [ctor@Gtk.CheckButton.new] or
- * [ctor@Gtk.CheckButton.new_with_label].
+ * A `GtkCheckButton` is created by calling either [ctor@Gtk.CheckButton.new]
+ * or [ctor@Gtk.CheckButton.new_with_label].
  *
  * The state of a `GtkCheckButton` can be set specifically using
  * [method@Gtk.CheckButton.set_active], and retrieved using
  *
  * # CSS nodes
  *
- * |[<!-- language="plain" -->
+ * ```
  * checkbutton[.text-button]
  * ├── check
  * ╰── [label]
- * ]|
+ * ```
  *
  * A `GtkCheckButton` has a main node with name checkbutton. If the
  * [property@Gtk.CheckButton:label] property is set, it contains a label
@@ -92,7 +92,7 @@
  *
  * # Accessibility
  *
- * `GtkCheckButton` uses the #GTK_ACCESSIBLE_ROLE_CHECKBOX role.
+ * `GtkCheckButton` uses the %GTK_ACCESSIBLE_ROLE_CHECKBOX role.
  */
 
 typedef struct {